package cn.com.yint.booklist.dao;



public class PageResult { 
	 private int currentPage;  //当前页
	 private int totalPage;  //总页数
	 private int count;  //总条数
	 private int size;  //每页条数
	 
public int getCurrentPage() {
	return currentPage;
}
public void setCurrentPage(int currentPage) {
	this.currentPage = currentPage;
}
public int getTotalPage() {
	totalPage=this.count%this.size==0?this.count/this.size:this.count/this.size+1;
	 return totalPage;
}
public void setTotalPage(int totalPage) {
	this.totalPage = totalPage;
}
public int getCount() {
	return count;
}
public void setCount(int count) {
	this.count = count;
}
public int getSize() {
	return size;
}
public void setSize(int size) {
	this.size = size;
}
}
